@import './common.less';

.exchange-card {
  .full-screen();
  background: #e9e8ee;
  background-image: url('../../images/card/bg.png');
  background-position: top left;
  background-size: 100%;
  background-repeat: no-repeat;
  .scrollable();

  .title-row {
    margin: 80/@ppr 30/@ppr 72/@ppr 30/@ppr;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    .icon {
      width: 40/@ppr;
      height: auto;
      margin-right: 16/@ppr;
    }

    .title {
      font-size: 40/@ppr;
      color: white;
      font-weight: 700;
    }
  }

  .content-view {
    background: white;
    margin: 0 30/@ppr;
    border-radius: 16/@ppr;
    padding: 100/@ppr 50/@ppr;
    height: 430/@ppr;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;

    .title {
      font-size: 30/@ppr;
      color: @cq-text-color;
      text-align: center;
    }

    .number-view {
      height: 100/@ppr;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: stretch;

      .input-cell {
        width: 174/@ppr;
        .hairline(bottom, @cq-line-color);

        .input {
          width: 100%;
          height: 100%;
          text-align: center;
          color: @cq-main-text-color;
          font-size: 52/@ppr;
        }
      }
    }

    .error {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 250/@ppr;
      text-align: center;
      font-size: 26/@ppr;
      color: @cq-main-color;
    }

    .submit-btn {
      height: 96/@ppr;
      border-radius: 48/@ppr;
    }
  }
}
